package com.ktgj.flight.api.domain;

import java.io.Serializable;

public class MoFlightSearchRequestApi extends MoRequestApi implements Serializable {
    public MoFlightSearchRequestApi()
    {
        GoSearchWhere = new MoFlightSearchWhereApi();
        BackSearchWhere = new MoFlightSearchWhereApi();
    }

    public void _Clone(MoFlightSearchRequestApi request)
    {
        this.GoSearchWhere = request.GoSearchWhere;
        this.BackSearchWhere = request.BackSearchWhere;
        this.TripType = request.TripType;
        this.PolicyType = request.PolicyType;
        this.BuyerCode = request.BuyerCode;

        this.ProviderCode = request.ProviderCode;
        this.RequestType = request.RequestType;
    }

    /**
     * 去程查询条件
     */
    public MoFlightSearchWhereApi GoSearchWhere;

    /**
     * 回程查询条件
     */
    public MoFlightSearchWhereApi BackSearchWhere;

    /**
     * 行程类型 全部 = 0,单程 = 1,往返 = 2
     */
    public int TripType;

    /**
     * 政策类型 EnumHelper.PolicyType
     */
    public int PolicyType;

    /**
     * true不查询缓存（目前只有必去接口区分是否查询缓存）
     */
    public Boolean IsNoCache;

    public String redisKey;
}
